We include the data and code for replicating results of ``Can Politicians Say That? What Shapes Public Responses to Speech Scandals?´´ at Journal of Experimental Political Science

Thomas Gift (UCL) and Carlos X. Lastra-Anadón (IE University)
Please get in touch for comments via clastra@faculty.ie.edu
2025.06.17


To reproduce the results in the main text of the paper and its appendix:

Open “20250624 ForbSpeechAnalysis.R”

2) Set the R working directory path so that it is Data in the replication package folder (it will be some version of setwd("~/Forbidden speech/Forbiddenspeechreplicationpackage/Data")  

3) Install and load the library packages and run the code from line 39 of “20250624 ForbSpeechAnalysis.R” This should reproduce all figures and tables in the main text and appendix, as indicated. Figures will be stored in the folder “Output” one level up from the “Data “ working directory.




